package com.pms.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.pms.dao.StatementsDao;
import com.pms.pojo.Department;
import com.pms.pojo.DeptTurn;
import com.pms.pojo.LeaveEmployee;
import com.pms.pojo.NewEmployee;
import com.pms.pojo.PostTurn;
import com.pms.pojo.StatementRequire;
import com.pms.service.StatementsService;

@Service("statementsService")
public class StatementsServiceImpl implements StatementsService {
	
	@Resource(name="statementsdao")
	private StatementsDao statementsdao;
	
	public void setStatementsdao(StatementsDao statementsdao) {
		this.statementsdao = statementsdao;
	}
	
	@Override
	public List<Department> getDepartment() {
		// TODO Auto-generated method stub
		return this.statementsdao.getDepartment();
	}
	@Override
	public List<NewEmployee> getNewEmployee(StatementRequire Srequire) {
		// TODO Auto-generated method stub
		return this.statementsdao.getNewEmployee(Srequire);
	}

	@Override
	public List<LeaveEmployee> getLeavaEmployeeS(StatementRequire Srequire) {
		// TODO Auto-generated method stub
		return this.statementsdao.getLeavaEmployee(Srequire);
	}

	@Override
	public List<DeptTurn> getDeptTurn(StatementRequire Srequire) {
		// TODO Auto-generated method stub
		return this.statementsdao.getDeptTurn(Srequire);
	}

	@Override
	public List<PostTurn> getPostTurn(StatementRequire Srequire) {
		// TODO Auto-generated method stub
		return this.statementsdao.getPostTurn(Srequire);
	}


}
